package com.mapper;

import com.entity.Classroom;

import java.util.List;

/**
 * @Author zhangfoshou
 * @Since 2016/1/6
 */
public interface ClassRoomMapper {
    /**
     * 查询所有教室信息
     *
     * @return
     */
    List<Classroom> selectAll();

    /**
     * 更新
     *
     * @param classroom
     */
    void update(Classroom classroom);

    /**
     * 通过ID查询
     *
     * @param id
     * @return
     */
    Classroom selectById(Integer id);
}

